Skip to content

Mlflow Experiment Tracking#185

Draft
adamkells wants to merge 5 commits intomainfrom
feature/mlflow-tracking
Draft

Mlflow Experiment Tracking#185
adamkells wants to merge 5 commits intomainfrom
feature/mlflow-tracking

Conversation

@adamkells
Copy link
Copy Markdown
Contributor

Description

Related Issues

Closes #

Type of Change

  • 🐛 Bug fix (non-breaking)
  • ✨ New feature (non-breaking)
  • 💥 Breaking change
  • 📚 Documentation
  • 🧪 Tests only
  • 🔴 Core change (requires RFC)

Testing

  • uv run pytest passes locally and generates no additional warnings or errors.
  • Added / updated tests to cover the changes.
  • Manually tested (describe how)

Checklist

  • I have read CONTRIBUTING.md and followed the guidelines.
  • I have linked all relevant Issues / Discussions / RFCs.
  • I have updated documentation where needed.
  • I understand all code changes and can explain the design decisions and trade-offs.
  • I am available to respond to review feedback.

adamkells added a commit that referenced this pull request Jan 22, 2026
Proposes healthcare-specific context helpers and FHIR Provenance
generation for MLflow experiment tracking. Complements (not wraps)
MLflow with HealthcareRunContext, PatientContext, and
log_healthcare_context() helper function.

Related to #185

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
adamkells and others added 3 commits March 31, 2026 11:20
- Rename healthchain/mlflow -> healthchain/mlflow_tracking to avoid
  shadowing the mlflow package in user imports
- Unify all logged param/tag prefixes to healthchain. namespace
  (was a mix of healthcare. params and healthchain. tags)
- Fix to_dict() to consistently omit None optional fields, matching
  the behaviour of patient_context and custom_metadata
- Harden from_app_config() with getattr defaults so it degrades
  gracefully if AppConfig attributes are missing
- Add four from_app_config tests covering happy path, name fallback,
  kwargs override, and missing-attributes safety
- Update all test assertions to reflect prefix and to_dict changes
- Update cookbook docs to use new healthchain.mlflow_tracking import path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant